#include "8086emu.h"

int main(int argc, char **argv)
{
    emu_cpu_t cpu;
    emu_cpu_init(&cpu, 0xffff, -1);
    cpu.memory[0] = 0xe8;
    cpu.memory[1] = 0x1;
    cpu.memory[4] = 0xb8;
    cpu.memory[5] = 0x34;
    cpu.memory[6] = 0x12;
    cpu.memory[7] = 0xc3;
    emu_cpu_execute(&cpu);
    emu_cpu_dump(&cpu);
    return 0;
}